package com.moon.esrepo;

import com.moon.esmodel.PoetryEs;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface PoetryEsRepository extends ElasticsearchRepository<PoetryEs,Integer> {
    public List<PoetryEs> findByContentIn(String word);
}
